package cn.xenosp.server.common.sslApply;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 项目名： service-web
 * 包路径： cn.xenosp.server.common.sslApply
 * 作者：   TongHui
 * 创建时间: 2025-03-06 09:21
 * 描述: TODO
 * 版本: 1.0
 */
public class CertificateInfo {
    private Date notBefore;
    private Date notAfter;

    public CertificateInfo(Date notBefore, Date notAfter) {
        this.notBefore = notBefore;
        this.notAfter = notAfter;
    }

    public Date getNotBefore() {
        return notBefore;
    }

    public Date getNotAfter() {
        return notAfter;
    }

    @Override
    public String toString() {
        return "CertificateInfo{" +
                "notBefore=" + notBefore +
                ", notAfter=" + notAfter +
                '}';
    }
}
